package com.kamisama.utopia.constant.character;

public class Faith {
    public static final String LV1 = "破灭";
    public static final String LV2 = "崩坏";
    public static final String LV3 = "无神论";
    public static final String LV4 = "充盈";
    public static final String LV5 = "坚定";

    public static String formatFaith(int faithPercent) {
        String faith = "";
        if (faithPercent <= 20) {
            faith = "信仰：" + Faith.LV1;
        } else if (faithPercent <= 40) {
            faith = "信仰：" + Faith.LV2;
        } else if (faithPercent <= 60) {
            faith = "信仰：" + Faith.LV3;
        } else if (faithPercent <= 80) {
            faith = "信仰：" + Faith.LV4;
        } else {
            faith = "信仰：" + Faith.LV5;
        }
        faith = faith + " [" + faithPercent +"%] \n";
        return faith;
    }
}
